package buildernodirector;

/**
 * @author 赵希奥
 * @date 2022/3/17 0:46
 * @gitHub https://github.com/CKXGZXA
 * @gitee https://gitee.com/ckxgzxa
 * @description: 宝马汽车建造者, 充当具体建造者
 */
public class BMWCarBuilder extends CarBuilder {
    @Override
    public void buildBrand() {
        car.setBrand("宝马");
    }

    @Override
    public void buildTire() {
        car.setTire("子午线轮胎");
    }

    @Override
    public void buildEngine() {
        car.setEngine("汽油发动机");
    }

    @Override
    public void buildSteeringWheel() {
        car.setSteeringWheel("四幅方向盘");
    }
}
